package org.sippr.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.sippr.pojo.TaskQueue;

import java.util.List;

@Mapper
public interface TaskQueueMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(TaskQueue record);

    int insertSelective(TaskQueue record);

    TaskQueue selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TaskQueue record);

    int updateByPrimaryKey(TaskQueue record);

    List<TaskQueue> findTaskByState(short state);
}